Edit the file ‘make/paths.make’ if you want to make changes to the installation directories or paths that will have effect across different runs of configure. Alternatively, override the Make variables on the command line when you run Make.

Exception: to reliably change the top-level ‘prefix’, you must give ‘configure’ the option ‘-prefix=prefix’, instead of changing the value in ‘paths.make’.

Edit ‘kpathsea/texmf.cnf.in’ to change the local paths to match your local setup. See Default paths in Kpathsea, for more details on changing the paths. A copy is in ‘kpathsea/INSTALL’. See ‘kpathsea/HIER’ for an explanation of the default setup.

If the paths do not match where the files actually are, the programs will probably start up Very, Very, Slowly, and/or not be able to find the fonts or other input files.

sh configure (in the top-level directory). This makes system-dependent ‘#define's’ in ‘*/c-auto.h’ (from the corresponding ‘c-auto.h.in’) and creates a ‘Makefile’ (from the corresponding ‘Makefile.in’, by doing ‘@var@’ and ‘ac_include’ substitutions).

Perhaps the most common desire is to compile with optimization instead of or as well as debugging. You can change the options passed to the compiler by changing ‘CFLAGS’, either for configure or make. For example:

prompt$ env CFLAGS="-g -O" configure
prompt$ make
or
prompt$ configure
prompt$ make CFLAGS="-g -O"

See Running configure scripts in Autoconf, for detailed configure options. (A copy is in ‘kpathsea/CONFIGURE’.)

make (still in the top-level directory). Barring configuration and compiler bugs, this will compile all the programs. See Common problems in Kpathsea, for system-dependent problems (this section is also in ‘kpathsea/INSTALL’).

This also creates the ‘texmf.cnf’ and ‘paths.h’ files that define the default search paths.


This document was generated on November 10, 2022 using texi2html 5.0.